
package linuxbox.util;

public class PoolConst
{
/*  
	public final static String CONNJDBCDRV	 
		= "oracle.jdbc.driver.OracleDriver";		
	// jdbc drv
	public final static String CONNDSN 	 
		= "jdbc:oracle:thin:scott/tiger@192.168.99.214:1521:orcl";	 	
//		= "jdbc:oracle:thin:system/manager@192.168.99.226:1521:bj";
	public final static long 	POOLOBJTTL 	 = 30000;	
	// object's time to live: 30 second
	public final static int	POOLINITSIZE = 4;	
	// min objects number in pool
	public final static int	POOLMAXSIZE	 = 100;	
	// max objects number in pool
*/

/* postgresql
  public final static String CONNDSN = "jdbc:postgresql://192.168.100.123:5432/box";
	public final static String CONNJDBCDRV = "org.postgresql.Driver";
  public final static String CONNJDBCDRV1 = "com.ms.jdbc.odbc.JdbcOdbcDriver";
*/

  public final static String CONNDSN = "jdbc:odbc:linuxbox";
  public final static String CONNJDBCDRV = "sun.jdbc.odbc.JdbcOdbcDriver";
  public final static String CONNJDBCDRV1 = "com.ms.jdbc.odbc.JdbcOdbcDriver";

/* MS-SQL
  public final static String CONNDSN = "jdbc:odbc:linuxbox";
  public final static String CONNJDBCDRV = "sun.jdbc.odbc.JdbcOdbcDriver";
  public final static String CONNJDBCDRV1 = "com.ms.jdbc.odbc.JdbcOdbcDriver";
*/

/*  
  public final static String CONNJDBCDRV	= "postgresql.Driver";
	// jdbc drv
	public final static String CONNDSN 	= "jdbc:postgresql://192.168.0.10/linuxbox";
//		= "jdbc:oracle:thin:system/manager@192.168.99.226:1521:bj";
*/
  public final static long 	POOLOBJTTL 	 = 30000;	
	// object's time to live: 30 second
	public final static int	POOLINITSIZE = 4;	
	// min objects number in pool
	public final static int	POOLMAXSIZE	 = 100;	
	// max objects number in pool

  public  final static String	USERNAME = "zhangjw";	
  public  final static String	PASSWORD = "zjw5498";	
}
